Update eslint-plugin-promise version to 6.0.0#20229
Conversation
|
Thank you for your contribution hamsa-s! We will review the pull request and get back to you soon. |
|
@hamsa-s Our build system requires the lockfile to be updated in PRs. You can update it by running |
|
I'm getting some errors when I run node_modules/.pnpm/@Azure+msal-node-extensions@1.0.0-alpha.13/node_modules/@azure/msal-node-extensions: node_modules/.pnpm/@Azure+msal-node-extensions@1.0.0-alpha.13/node_modules/@azure/msal-node-extensions: Running install script, failed in 1.5s The command failed: Giving up after 3 attempts |
|
@hamsa-s That's strange. There are some packages that require C/C++ build tools, but as far as I can tell, the error seems to indicate that you do have Apple's toolchain installed. What version of Node are you using, and did you happen to run that command in a VS Code JavaScript Debug Terminal? |
|
I was using the latest version of node (v17) and running it in my terminal. I think it was the node version that was causing the error since I tried with v16 and it worked. Thanks @witemple-msft and @jeremymeng! |
|
@hamsa-s OK, that's great to know, thanks! While we only claim to support LTS versions of Node, we actually should support 17 as well. It's troubling that it doesn't work with Node 17 (and will be a problem if it doesn't work with Node 18 when it is released as LTS). Could I ask you to create an issue in the repo that includes the above information, the error, and all relevant version numbers (for Node, NPM, Python, and macOS). |
@hamsa-s Is |
|
@jeremymeng yes |
jeremymeng
left a comment
There was a problem hiding this comment.
Great! Looks good to me as long as linting is passing. Thank you very much for the upgrade and filling the build issue!
This fixes issue #19220 by updating the
eslint-plugin-promiseversion to 6.0.0 incommon/tools/eslint-plugin-azure-sdk/package.jsonHere are the steps I took to solve the issue:
After changing the dependency version, I ran
rush updateto install the new version, thenrush lintto make sure the eslint-plugin was working with no errors.Please let me know if there is anything else I should do for this issue.